package com.feiyuan.modules.sys.mapper;

import com.feiyuan.modules.sys.entity.MenuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 菜单管理
 * 
 * @author Xupf
 * @email xupengfei131276@126.com
 * @date 2024-03-01 14:51:34
 */
@Mapper
public interface MenuDao extends BaseMapper<MenuEntity> {

    /**
     * 根据用户ID查询用户的权限
     * @param userId
     * @return
     */
    List<MenuEntity> selectMenus(String userId);
}
